package com.maxd;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;


@EnableSwagger2
@EnableScheduling
@SpringBootApplication
public class SpringDataJpaExampleApplication implements CommandLineRunner {

    public static void main(String[] args) {
        SpringApplication.run(SpringDataJpaExampleApplication.class, args);
    }

    @PostConstruct
    public void init() {

    }
    @PreDestroy
    public void destory() {

    }

    @Override
    public void run(String... args) throws Exception {
    }
}
